

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   bq.java

package com.zelix;

import java.util.*;

// Referenced classes of package com.zelix:
//            zp, yc, dd, dq, 
//            re, lt, mt, qy, 
//            tb, fy

public class bq extends zp
{

    String b;
    zp c;

    public bq(zp zp1, String s)
    {
        c = zp1;
        b = s;
    }

    void a(ArrayList arraylist)
    {
        String s = a();
        arraylist.add(s);
    }

    void a(Hashtable hashtable)
    {
        String s = a();
        hashtable.put(s, this);
    }

    public String b()
    {
        return b;
    }

    void a(dd dd1, re re1, dq dq1, Hashtable hashtable, qy qy1, fy fy, qy qy2)
    {
        HashSet hashset;
        Vector vector;
        boolean flag;
        flag = tb.b;
        hashset = new HashSet();
        vector = qy2.d(c.a());
        if(vector == null) goto _L2; else goto _L1
_L1:
        int i = 0;
        if(!flag) goto _L4; else goto _L3
_L3:
        mt mt1 = (mt)vector.get(i);
        if(dd1.a(mt1))
            hashset.add(mt1.B());
        i++;
_L4:
        if(i < vector.size()) goto _L3; else goto _L2
_L2:
        Iterator iterator;
        a(dd1, re1, dq1, hashtable, qy1, fy, hashset);
        iterator = super.a.iterator();
        if(!flag) goto _L6; else goto _L5
_L5:
        bq bq1 = (bq)iterator.next();
        bq1.a(dd1, re1, dq1, hashtable, qy1, fy, qy2);
_L6:
        if(!iterator.hasNext())
            return;
        if(true) goto _L5; else goto _L7
_L7:
    }

    private void a(dd dd1, re re1, dq dq1, Hashtable hashtable, qy qy1, fy fy, HashSet hashset)
    {
        String s = a();
        if(!hashtable.containsKey(s))
        {
            String s1 = (String)hashtable.get(c.a());
            if(s1 == null)
                s1 = c.a();
            String s2 = dq1.a(s1, qy1, fy, hashset, re1, dd1);
            String s3 = (s1.length() <= 0 ? "" : s1 + "/") + s2;
            Object obj = hashtable.put(s, s3);
            qy1.b(s3, s);
        }
    }

    public String a()
    {
        String s = c.a();
        if(s.length() > 0)
            return s + "/" + b;
        else
            return b;
    }

    void a(HashMap hashmap, dd dd1, re re1, String s)
    {
        Iterator iterator;
        boolean flag;
        flag = tb.b;
        iterator = super.a.iterator();
        if(!flag) goto _L2; else goto _L1
_L1:
        String s1 = s;
        bq bq1 = (bq)iterator.next();
        String s2 = bq1.a();
        if(dd1.d(s2))
        {
            s1 = s2;
            if(!flag)
                continue;
        }
        if(re1 != null && re1.q(s2))
        {
            String s3 = re1.h(s2);
            if(s3 != null)
            {
                s1 = s3;
                if(!flag)
                    continue;
            }
            s1 = s2;
            if(!flag)
                continue;
        }
        hashmap.put(s2, s1);
        bq1.a(hashmap, dd1, re1, s1);
_L2:
        if(!iterator.hasNext())
            return;
        if(true) goto _L1; else goto _L3
_L3:
    }
}